package com.iptv.grape.bu.imp;

import android.view.KeyEvent;

import com.iptv.grape.BaseActivity;
import com.iptv.grape.bu.AppState;
import com.iptv.grape.bu.GrapeContext;
import com.iptv.grape.bu.IKeyEventPorc;
import com.iptv.grape.video.XMediaPlayer;

// 回看模式下 弹出回看节目单菜单
@AppState(isShowLiveMenu = false,isShowChannelBillUI = false, curLiveType="Back",keyVals = {21,22})
public class PopBackMenu implements IKeyEventPorc {
    @Override
    public void onKeyDownEvent(BaseActivity context, XMediaPlayer mediaPlayer, GrapeContext grapeContext, KeyEvent event) {
        GrapeContext.curGrapeContext().showChannelBillUI(context);
    }
}
